package com.example.a7822.myapplication.shopcart.common;

/**
 * Created by wp on 2016/6/14.
 */
public class Urls {

    //http://c.m.163.com/nc/article/headline/T1348647909107/0-5.html  头条

    public static final int PAZE_SIZE =10;

    public static String defaultAddressID = "94";//默认地址ID：94  userID：228（薄学）  电话：13811728400
    // 邮编：610000  地址：龙湖时代天街17栋1219     成都市 四川省 china 郫县

    public static String defaultReceiverID = "228";

    public static final String HOST = "http://116.62.119.53/";
    public static final String END_URL = "-" + PAZE_SIZE + ".html";
    public static final String END_DETAIL_URL = "/full.html";
    // 头条
    public static final String TOP_URL = HOST + "nc/article/headline/";
    public static final String TOP_ID = "T1348647909107";
    public static final String NEW_DETAIL = HOST + "nc/article/";


    //获取商品信息
    public static final String GET_GOOD_INFO = HOST + "good/getByCode";
    public static final String GET_SHOP_INFO = HOST + "shop/getOne";

    //店铺相关url
    public static final String PARAM_GET_SHOP_LIST = "/shop/getShopList";
    public static final String PARAM_POST_ADD_ADDRESS = "/account/addDeliveryAddress";
    public static final String PARAM_GET_SHOP_INFO = "/shop/getShopInfo?shopId=";

    //测试
    public static final String NEWS_URL = "http://192.168.1.128/SMNews/getNewsList?lastNewsId=";//-1&count=5";

    public static final String COUNT = "&count=";
    public static final String NEWS_DETAL_URL = "http://192.168.1.128/SMNews/getNews?newsId=";
    //生成订单，post地址
    public static final String POST_GenerateOrder = HOST + "order/add";
    public static final String POST_PAY_BY_ORDERNUMBER = HOST + "order/payByOrderNumber";

}